# Maintainer:
pkgname=py3-pygaljs
pkgver=1.0.2
pkgrel=4
pkgdesc="pygal.js python assets"
url="https://github.com/ionelmc/python-pygaljs"
arch="all"
license="LGPL-3.0-or-later"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://pypi.io/packages/source/p/pygaljs/pygaljs-$pkgver.tar.gz"
builddir="$srcdir/pygaljs-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
d7e0000e8cc55cde9ca455c4761c83202a95aadb2431086cb5ee21b44307f35ccc8431a50b43699814d0cdec0d8f4c14df68ec19c0ad0ac27f2c7eec85799a82  pygaljs-1.0.2.tar.gz
"
